<!-- @head.html -->

</head>
<body >
<script>
    $(function(){
        var select_title=location.pathname;
        $(".nav_menu-item" ).each(function(){
            $(this ).find('a' ).each(function(){
                var href=$(this ).attr('href');
                href=href.split('.')[0];
                if(select_title.indexOf(href)>0){
                    $(this ).parents('li' ).find('.no_is_sub').addClass('active');
                }
            })
        })

    })
</script>
<div class="navbar-fixed-top" id="layout_header">
  <!-- Top -->
    <div class="clearfix" id="layout_header_top">
        <div class="nav">
          <a class="logo" href="/"> 
            <img src="http://res.www.hfjy.com/images/logo.png" alt="">
          </a>
          <ul class="nav_menu">

            <li class="nav_menu-item ">
              <a class="no_is_sub" href="index.html">首页</a>

            </li>
            <li class="nav_menu-item">
              <a class="no_is_sub" href="course.html" target="_blank">课程介绍</a>
              <ul class="nav_submenu nav_submenu1" style="overflow: hidden; height: 70px; display: none; margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px;">


                  <li class="nav_submenu-item "><a href="course.html" target="_blank">产品介绍</a></li>
                  <li class="nav_submenu-item"><a href="Tutorial.html" target="_blank">补习Q&amp;A</a></li>
              </ul>
            </li>
            <li class="nav_menu-item select-title">
              <a class="no_is_sub" href="http://vip.hfjy.com/zzhb/" target="_blank">海风成绩</a>
              <ul class="nav_submenu nav_submenu2" style="overflow: hidden; height: 105px; display: none; margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px;">
                <li class="nav_submenu-item"><a href="http://vip.hfjy.com/zzhb/" target="_blank">学员案例</a>
                </li>
                <li class="nav_submenu-item"><a href="teachers.html" target="_blank">师资介绍</a></li>
                <li class="nav_submenu-item"><a href="research.html" target="_blank">教研介绍</a></li>
              </ul>
              </li>
              <li class="nav_menu-item select-title"><a class="no_is_sub" href="Online.html">在线学习中心</a>
                <ul class="nav_submenu nav_submenu3" style="overflow: hidden; height: 70px; display: none; margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px;">
                  <li class="nav_submenu-item"><a href="Online.html" target="_blank">如何上课</a>
                  </li>
                  <li class="nav_submenu-item"><a href="https://shop114895113.taobao.com/shop/view_shop.htm?user_number_id=2289914184" target="_blank">选课中心</a></li>
                </ul>
              </li>
              <li class="nav_menu-item select-title">
                <a class="no_is_sub" href="javascript:void(0);" target="_blank">在线服务</a>
                  <ul class="nav_submenu nav_submenu4" style="overflow: hidden; display: none;">
                    <li class="nav_submenu-item"><a href="https://xue.hfjy.com/html/home/evr_score_estimate.html" target="_blank">志愿填报</a></li>
                    <li class="nav_submenu-item"><a href="https://xue.hfjy.com/html/home/evr_diag.html" target="_blank">专业倾向测试</a></li>
                  </ul>
              </li>
          </ul>
          <div class="head-right ">
            <a class="btn btn-primary-border btn-login" onclick="javascript:window.open('https://xue.hfjy.com/html/home/stu_login.html')" target="_blank">
              <i class="iconfont">&#xe615;</i>登录到学习中心
            </a>
            <a class="btn btn-primary-border btn-register " onclick="javascript:window.open('https://xue.hfjy.com/html/home/stu_login.html#reg=regedit')" target="_blank">注册</a>
          </div>
        </div>
    </div>
    <div class="clearfix"></div>
    <script type="text/javascript">
    $(document).ready(function() {
      $(".nav_menu .nav_menu-item").hover(function(){
        $(this).children('ul').stop().slideDown('fast');
      },function(){
          $(this).children('ul').stop().slideUp('fast');
      } );
        //防止有些浏览器出现异常
        $(".nav").mouseleave(function(){
          $(".nav_menu" ).children('ul').stop().slideToggle('fast');
      } )
        $(".nav_submenu").mouseleave(function(){
            $(".nav_menu" ).children('ul').stop().slideUp('fast');
        } )

    });
</script>
</div>

<script>
    $(document).ready(function () {
        var p = 0, t = 0;

        $(window).scroll(function (e) {
            p = $(this).scrollTop();
            if (t <= p) {//下滚
                $("#layout_header_menu").hide();
            }
            else {//上滚
                $("#layout_header_menu").show();
            }
            setTimeout(function () { t = p; }, 0);
        });
    });

</script>
<!-- End: Header -->